#pragma once
#include "CDOCollection.h"

class CTimelineMarkerCollection :
	public CDOCollection
{

public: 
	CTimelineMarkerCollection(CCoreServices * pCore);
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT Append(CDependencyObject * pObject, XUINT32 * pnIndex);
	virtual HRESULT Insert(XUINT32 nIndex, CDependencyObject * pObject);
	virtual void * RemoveAt(XUINT32 nIndex);
	virtual HRESULT OnClear();
	XUINT32 TimelineSearch(XFLOAT rTimeSpan);
	void SetOwner(CDependencyObject * pOwner);
protected: 
	CDependencyObject * m_pOwner;
};
